home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-03-23 | 1.7 KB | 47 lines | [TEXT/MPS ] |
- ntptime - MPW tool to set the mac clock via the network.
- Requires the 1.0 MacTCP drivers.
-
- Author - Ravinder Chandhok <ravinder.chandhok@cs.cmu.edu> (applelink a14)
- From unix code from U Maryland and Brad White at CMU.
-
- Usage: ntptime [-v] [-s] [-t secs]
-
- To use ntptime to set your clock, do the following:
-
- 1) Install the ntptime tool into your usertools folder (or somewhere
- that MPW will find it).
-
- 2) Install and edit the ntp.conf file in your system folder, you should
- configure it to reflect the addresses of your favorite ntp servers.
-
- 3) Use the "Map" CDEV to set your time zone properly, accounting for
- daylight savings time by physically altering the difference from GMT
- by one hour. This will have the effect of screwing up your clock,
- but the next step will correct that. For example, here in
- Pittsburgh we are 5 hours west of GMT, but with DST we are only 4.
-
- 4) Just to see the effect, execute this line MPW:
-
- ntptime; ntptime -s; ntptime
-
- The first call will tell you how far off your clock is, the second
- call will set the clock (-s) and the third call will report the currect
- difference.
-
- 5) ntptime -help will get you the usage message. The -v option will give you
- a listing of which hosts responded, and how well they converged. The
- host with a "*" next to it is the one used to set the clock. The -t option
- changes the amount of time ntptime will wait for a host to converge, the default
- is 15 seconds. The -t option is specified in units of seconds.
-
- *********************************
-
- ntp - send a single ntp packet to host(s) and report results
-
- usage - ntp host1 [host2...]
-
- example - ntp 128.2.222.224
-
- Doesn't allow domain names yet on the command line.
- Has a 60 second timeout, so don't assume that it crashed.
-